package com.sanen.flyer.tool;

/**
 * @author wsse
 * @date 2018-09-06 10:13
 */
public class ThreadTool {
    /**
     * 冻结线程一定时间
     * @param time 冻结时间
     */
    public static void sleep(long time){
        if (time<=0)return;
        try {
            Thread.sleep(time);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
